home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 352_01 / lcempty.cpp < prev    next >
C/C++ Source or Header  |  1991-04-22  |  288b  |  15 lines

  1.  // LCempty.cpp  contains code for testing for empty linked lists.
  2.  // part of LinkClass:: routines.
  3.  
  4. #include <stdlib.h>
  5. #include <alloc.h>
  6. #include <iostream.h>
  7. #include "wtwg.h"
  8.  
  9. #include "dblib.h"
  10.     
  11. int  LinkClass::isEmpty () 
  12.         {
  13.         return (nx==this || nx==NULL); 
  14.         }
  15.